Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /


Chapter 10 - Derived Media Handler Components

This chapter discusses derived media handler components. Derived media handler components allow the Movie Toolbox to play the data in a media. These components isolate the Movie Toolbox from the details of how or where a particular media is stored. This not only frees the Movie Toolbox from reading and writing media data, but also makes QuickTime extensible to new data formats.

These components are referred to as derived components because they rely on the services of a common base media handler component, which is supplied by Apple. The base media handler component handles most of the duties that must be performed by all media handlers. Your derived media handler component extends the services provided by the base media handler.

This chapter is divided into the following sections:

This chapter addresses developers of derived media handler components. You should never need to use the facilities of a derived media handler directly--only the Movie Toolbox calls derived media handler components. The functions described in this chapter define the functional interface that your component must support.

As components, derived media handlers rely on the facilities of the
Component Manager. To use any component, your application must also use
the Component Manager. If you are not familiar with this manager, see the
chapter "Component Manager" in Inside Macintosh: More Macintosh Toolbox. In addition, you should be familiar with the Movie Toolbox in general and the concept of media structures in particular. See the chapter "Movie Toolbox" in Inside Macintosh: QuickTime for more information.

Note
Throughout this chapter, the terms media handler and handler refer to media handler components. Apple's sound and video handlers are not derived media handlers, so you cannot override them using the functions described in this chapter. Apple's text media handler, on the other hand, is built on the base media handler.

Chapter Contents
About Derived Media Handler Components
Media Handler Components
Derived Media Handler Components
Creating a Derived Media Handler Component
Component Flags for Derived Media Handlers
Request Processing
A Sample Derived Media Handler Component
Implementing the Required Component Functions
Initializing a Derived Media Handler Component
Drawing the Media Sample
Derived Media Handler Components Reference
Data Type
Functions
Managing Your Media Handler Component
General Data Management
Graphics Data Management
Sound Data Management
Base Media Handler Utility Function
Summary of Derived Media Handler Components
C Summary
Constants
Data Type
Functions
Managing Your Media Handler Component
General Data Management
Graphics Data Management
Sound Data Management
Base Media Handler Utility Function
Pascal Summary
Constants
Data Type
Routines
Managing Your Media Handler Component
General Data Management
Graphics Data Management
Sound Data Management
Base Media Handler Utility Routine

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help